package com.jy.modules.cims.common;

import java.util.List;
import java.util.Map;

/**
 * 函数调用返回结果值
 * 
 * @author JY-IT-D001
 * 
 */
public class JResult {

	public JResult() {
		success = true;
	}

	// 是否成功
	private boolean success;

	// 错误编码
	private String errCode;

	// 错误描述
	private String errMsg;

	// 其他信息
	private Object obj = null;

	// 其他参数
	private Map<String, Object> map;

	// 其他参数
	private List<Object> list;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	public Map<String, Object> getMap() {
		return map;
	}

	public void setMap(Map<String, Object> map) {
		this.map = map;
	}

	public List<Object> getList() {
		return list;
	}

	public void setList(List<Object> list) {
		this.list = list;
	}
}
